package org.xdemo.example.shiro.entity;

import java.util.Date;
import java.util.List;

/**
 * Created by kz on 2017/8/24.
 */

public class ShiroUser {

    Integer id;
    /** 用户名 **/
    String username;
    /** 密码 **/
    String password;
    /** 是否删除 **/
    Integer isDelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public List<UserRole> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(List<UserRole> userRoles) {
        this.userRoles = userRoles;
    }

    /** 创建时间 **/
    Date createDate;
    //多对多用户权限表
    List<UserRole> userRoles;
}
